CREATE TABLE [dbo].[T_ADDRESS]
(
[ADDRESS_ID] [bigint] NOT NULL IDENTITY(1, 1),
[ADDRESS_DESCRIPTION] [varchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CREATE_DATE] [datetime] NULL,
[DISABLE_DATE] [datetime] NULL,
[TYPE_ADDRESS_ID] [bigint] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_ADDRESS] ADD CONSTRAINT [PK__T_ADDRES__66EDEA2FD33DE4B7] PRIMARY KEY CLUSTERED  ([ADDRESS_ID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_ADDRESS] ADD CONSTRAINT [FK_T_ADDRESS_T_TYPE_ADDRESS] FOREIGN KEY ([TYPE_ADDRESS_ID]) REFERENCES [dbo].[T_TYPE_ADDRESS] ([TYPE_ADDRESS_ID])
GO
